package edu.elon.cs.mobile.ukulele;

public class Dot {
	
	private float x;
	private float y;
	private String name;
	private final float xRadius = 35f;
	private final float yRadius = 20f;

	public Dot(String string, float i, float j) {
		name = string;
		x = i;
		y = j;
	}
	
	public float getUpperX(){
		return x + xRadius;
	}
	
	public float getLowerX(){
		return x - xRadius;
	}
	
	public float getUpperY(){
		return y + yRadius;
	}
	
	public float getLowerY(){
		return y - yRadius;
	}

	public float getX() {
		return x;
	}

	public void setX(float x) {
		this.x = x;
	}

	public float getY() {
		return y;
	}

	public void setY(float y) {
		this.y = y;
	}
}
